<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>

	
<title>悦章科技机构平台</title>	

	
<!--内容样式-->
<link rel="stylesheet" href="__PUBLIC__/Home/css/style.css" />
<link rel="stylesheet" href="__PUBLIC__/Home/css/page.css" />

	
	
</head>

<body>

	
	<div class="main">
	
	
		<include file="menu" />
		
		
		
		<!--  右侧内容  -->
		<div class="content">
			
			
			<div class= "ct-title">
				<div class="ctt-bt">面授课管理</div>
				<div class="ctt-r">
					<form class="cttr-bd" action="" method="POST">
						<input type="text" placeholder="请输入课程名称" class="cttrb-wb" name="name" value="{$msg.name}">
						<select class="cttrb-xl" name="is_upper">
							<option value=""  <if condition="$msg.is_upper eq '11'">selected</if>>状态</option>
							<option value="1" <if condition="$msg.is_upper eq 1">selected</if>>上架</option>
							<option value="0" <if condition="$msg.is_upper eq 0">selected</if>>下架</option>
						</select>
						<div class="cttrb-sj">
							<input type="date" name="start_time" value="{$msg.start_time}">
							<img src="__PUBLIC__/Home/images/img_zhi.png" />
							<input type="date" name="end_time" value="{$msg.end_time}">
							<div class="divclear"></div>
						</div>
						<button class="cttrb-cx" type="submit">查询</button>
						<a href="{:U('Operate/addFaceCourse')}" class="cttrb-xz">新增</a>
						<div class="divclear"></div>
					</form>
					<div class="divclear"></div>
				</div>
				<div class="divclear"></div>
			</div>
			
			<div class="ct-table">
				<table width="100%" border="0">
					<tbody>
						<tr>
							<th scope="col" width="27%" style="border-top-left-radius: 10px;">课程名称</th>
							<th scope="col" width="8%">价格</th>
							<th scope="col" width="12%">报名截止日期</th>
							<th scope="col" width="8%">报名人数</th>
							<th scope="col" width="22%">上课地址</th>
							<th scope="col" width="8%">状态</th>
							<th scope="col" width="15%" style="border-top-right-radius: 10px;">操作</th>
						</tr>
						<volist name="_list" id="item">
							<tr>
							  <td>
								<div class="ctt-img ctt-img2">
									<img src="{$item.img}" />  
								</div>
								<div class="ctt-kcm">{$item['name']}</div>
								<div class="divclear"></div>
							  </td>
							  <td>￥{$item['price']}</td>
							  <td>{$item['end_enlist_time']}</td>
							  <td>{$item['enlist_count']}人</td>
							  <td>{$item['address_detail']}</td>
							  <td><if condition="$item['is_upper'] eq 1">已上架<else/>已下架</if></td>
							  <td><if condition="$item['is_upper'] eq 1"><a href="{:U('Operate/loadingAndUnloadingFaceCourse',array('id'=>$item['id'],'is_upper'=>0))}">下架</a><else/><a href="{:U('Operate/loadingAndUnloadingFaceCourse',array('id'=>$item['id'],'is_upper'=>1))}">上架</a></if><a href="{:U('Operate/face_detail',array('id'=>$item['id']))}">详情</a><!-- <a href="运营系统-面授课管理-新增.html">编辑</a> --><a href="{:U('Operate/delFaceCourse',array('id'=>$item['id']))}">删除</a></td>
							</tr>
						</volist>
					</tbody>
				</table>
			</div>
			
<!-- 			<div class="ct-btn">
				<div class="ctb-an"><</div>
				<div class="ctb-an ctb-an-on">1</div>
				<div class="ctb-an">2</div>
				<div class="ctb-an">3</div>
				<div class="ctb-an">></div>
				<div class="divclear"></div>
			</div>
			 -->
			<div class="page">
	            {$_page}
	        </div>
			
		</div>
		
		
		
	</div>
	
	
	
</body>
</html>
